import { BrowserWindow } from 'electron'

export const toggleWin = (win: BrowserWindow) => {
  win.isVisible() ? win.hide() : win.show()
}
